package com.qdy.repository;

import com.qdy.entity.dynamic.DynamicLike;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by qudingyi on 2017/4/22.
 */
public interface DynamicLikeRepository extends JpaRepository<DynamicLike,Long> {
    List<DynamicLike> findByDynamicIdOrderByLikeTimeDesc(Long dynamicId);
}
